package cn.yunhe.beans;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author herbert
 * @date 2021/2/2
 */
public class Item {

    /**
     * 产品id
     */
    private int id;

    /**
     * 产品名称
     */
    private String itemName;

    /**
     * 图片地址
     */
    private String pic;

    /**
     * 产品价格
     */
    private BigDecimal price;

    /**
     * 产品细节
     */
    private String detail;

    /**
     * 创建时间
     */
    private Date createTime;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Items{" +
                "id=" + id +
                ", itemName='" + itemName + '\'' +
                ", pic='" + pic + '\'' +
                ", price=" + price +
                ", detail='" + detail + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
